<!-- directive:title 代码自动化生产 产品 -->
<!-- directive:breadcrumb 自动化 -->
<div class="panel-body">
    <form class="yxf14 bigpadding" name="From">
        <b class="yxf14-title"> <i></i> 开卡表单 </b>
        <div class="yxflegend">
            <label>监控条件三</label>
            <div class="yxf14-box">
                <label class="yxf14-label">监控推广</label>
                <div class="yxf14-control">
                    <input type="text" placeholder="请输入用户" style="width:200px;" ng-model="frm.userName" name="f11"
                        select2 config="frm2.userNameList" select2-model="frm2.userName" ng-change="doajax4Ad()"
                     >
                    <input type="text" placeholder="请输入业务名称" style="width:200px;" ng-model="frm.bizName" name="f12"
                        select2 config="frm2.bizNameList" select2-model="frm2.bizName" ng-change="doajax4Ad()"
                     >
                    <input type="text" placeholder="请输入推广" style="width:200px;" ng-model="frm.adName" name="f13"
                        select2 config="frm2.adNameList" select2-model="frm2.adName"
                     >
                    <button type="button" class="btn btn-danger" ng-click="frm2.adidsAdd()">添加</button>
                    <b ng-show="frm2.f14Btn && (!frm.userName||!frm.bizName||!frm.adName)"> 三项均必填 </b>
                </div>
                <div class="yxf14-control table-responsive">
                    <table class="table" style="width:800px;display: inline-block;">
                        <thead>
                            <tr>
                                <th title="用户名" style="text-align:left;width:200px;">用户名</th>
                                <th title="业务名称" style="text-align:left;width:150px;">业务名称</th>
                                <th title="推广名称（ID）" style="text-align:left;width:250px;">推广名称（ID）</th>
                                <th title="操作" style="text-align:center;width:100px;">操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr ng-show="!frm.adids.length">
                                <td colspan="99"><center>无数据</center></td>
                            </tr>
                            <tr ng-repeat="row in frm.adids track by $index">
                                <td style="text-align:left;" title="{{ row.userName }}">{{ row.userName }}</td>
                                <td style="text-align:left;" title="{{ row.bizName }}">{{ row.bizName }}</td>
                                <td style="text-align:left;" title="{{ row.adName }}">{{ row.adName }}</td>
                                <td style="text-align:center;color:#F44336;" title="关闭">
                                    <div class="yxt14ellipsis yxt14cursor" ng-click="frm2.adidsDelete($index)"> 删除 </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <!-- 提交 -->
        <div class="yxf14-box">
            <div class="yxf14-control">
                <button type="button" class="btn btn-danger" ng-click="submitFun($event)">提交表单</button>
                <button type="button" class="btn btn-grey" ng-click="cancelFun()">取消</button>
            </div>
        </div>
    </form>
</div>